package com.hx.tx.springboot;

import com.fasterxml.jackson.databind.ser.Serializers;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.hx.tx.springboot.mapper")
//开启事务
@EnableTransactionManagement
public class TxSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(TxSpringbootApplication.class, args);
    }

}
